Skip to content

Conversation

excid3
Copy link
Contributor

@excid3 excid3 commented Dec 2, 2021

Heroku and other hosts define REDIS_URL for the redis host. This updates Kredis to use the environment variable to set the URL by default and should simply usage of Kredis for new users. This works the same as DATABASE_URL does with ActiveRecord.

Also updated the README to link to the configuration and the Redis readme for other options that could be used.

@kaspth

@kaspth kaspth merged commit 2ea0d48 into rails:main Dec 2, 2021
@excid3 excid3 deleted the redis-url branch December 2, 2021 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants